package com.ruoyi.finance.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 发票凭证模块的详细信息对象 w_invoice_voucher_details
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WInvoiceVoucherDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 ID */
    private Long primaryId;

    /** 发票模块的ID */
    @Excel(name = "发票模块的ID")
    private Long invoiceModuleId;

    /** 摘要ID */
    @Excel(name = "摘要ID")
    private Long summaryId;

    /** 会计科目ID */
    @Excel(name = "会计科目ID")
    private Long accountingSubjectId;

    /** 1 为借方，2 为贷方 */
    @Excel(name = "1 为借方，2 为贷方")
    private Long direction;

    /** 取值 */
    @Excel(name = "取值")
    private Long validValues;

    /** 借方金额 */
    @Excel(name = "借方金额")
    private BigDecimal debitAmount;

    /** 贷方金额 */
    @Excel(name = "贷方金额")
    private BigDecimal creditAmount;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer isDeleted;


}
